package com.qf.service;

import com.qf.pojo.User;

import java.util.List;

public interface UserService {
    public List<User> findAll();
    public User findById(Integer id);
    public User addAndUpdate(User user);
    public void deleteById(Integer id);
    public int regist(String phone,String pass);
    public User login(String phone,String pass);
}
